package com.jie.langlangmall.portal.enums;

import lombok.Getter;

/**
 * @Author Jie
 * @Date 2024/11/27
 * @Email 3217998214@qq.com
 * @Description
 */
@Getter
public enum QueueEnum {

    QUEUE_ORDER_CANCEL("lang-lang-mall.order.direct", "lang-lang-mall.order.cancel", "lang-lang-mall.order.cancel"),

    QUEUE_TTL_ORDER_CANCEL("lang-lang-mall.order.direct.ttl", "lang-lang-mall.order.cancel.ttl", "lang-lang-mall.order.cancel.ttl");

    private final String exchange;

    private final String name;

    private final String routeKey;

    QueueEnum(String exchange, String name, String routeKey) {
        this.exchange = exchange;
        this.name = name;
        this.routeKey = routeKey;
    }
}
